package org.microframework.base.core.security.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.microframework.base.core.security.config.WebMvcSecurityConfig;
import org.springframework.context.annotation.Import;

/**
 * 启用安全拦截器
 * 
 * 在应用启动类上添加此注解，启用安全拦截器功能
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(WebMvcSecurityConfig.class)
public @interface EnableSecurityInterceptor {

} 